package com.spring.sunflower.conversation

import com.spring.sunflower.base.BaseView
import com.spring.sunflower.bean.*

/**
 * Created by Kevin on 2021/7/30<br/>
 *
 * Describe:<br/>
 */
class ConversationContract {
    interface TopicView : BaseView {
        fun showTopic(data: List<TalkRepositoryBean.DatasBean>)
    }

    interface GiftView : BaseView {
        fun showGiftList(data: List<ChatGiftBean.Data>)
        fun showAnchorData(data: AnchorDetailBean.DatasBean?)

        fun sendGiftSuccess(data: String,pos:Int)
        fun sendGiftFailed(msg: String)
    }

    interface VoiceView : BaseView {
    }

    interface ChatCommentView : BaseView {
        fun showReportType(data: List<LabelBean.DatasBean?>?)

        fun hasBlacked(hasBlacked: Boolean)

        fun blackAddSuccess()

        fun blackAddFailed()

        fun blackRemoveSuccess()

        fun blackRemoveFailed()
        fun hasFollowed(hasFollowed: Boolean)

        fun setFollowedSuccess()

        fun setFollowedFailed()
    }

    interface LatestVisitorView : BaseView {
        fun showLatestVisitor(data: List<LatestVisitorBean.DatasBean>)
        fun showLatestVisitorTotal(data: LatestVisitorNumBean.DatasBean)
    }

    interface CallRecordView : BaseView {
        fun showCallRecord(data: List<CallRecordBean.DatasBean>)
    }
}